#!/usr/bin/env python 
# -*- coding:utf-8 -*-
from urllib.parse import urlparse,urljoin

if __name__ == '__main__':
    url = 'http://tj.fang.com/'
    new_url  = 'https://hf.newhouse.fang.com/house/s/'
    print(url.split('.')[0]+'.newhouse.fang.com/house/s/')